.class Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$11;
.super Ljava/lang/Object;
.source "SPBrandEngageClient.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->onPause()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;


# direct methods
.method constructor <init>(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$11;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    .line 720
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 723
    iget-object v1, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$11;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mWebView:Landroid/webkit/WebView;
    invoke-static {v1}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$4(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Landroid/webkit/WebView;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 725
    :try_start_0
    const-string v1, "android.webkit.WebView"

    invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v1

    .line 726
    const-string v2, "onPause"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v1

    .line 727
    iget-object v2, p0, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient$11;->this$0:Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;

    #getter for: Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->mWebView:Landroid/webkit/WebView;
    invoke-static {v2}, Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;->access$4(Lcom/sponsorpay/sdk/android/publisher/mbe/SPBrandEngageClient;)Landroid/webkit/WebView;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 732
    :cond_0
    :goto_0
    return-void

    .line 728
    :catch_0
    move-exception v0

    .line 729
    .local v0, exception:Ljava/lang/Exception;
    const-string v1, "SPBrandEngageClient"

    const-string v2, "onPause error"

    invoke-static {v1, v2, v0}, Lcom/sponsorpay/sdk/android/utils/SponsorPayLogger;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method
